package com.wangshb.upms.dto.upms.user;

import lombok.*;

import javax.validation.constraints.NotNull;

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UpmsUserResetPasswordRequestDto {

    @NotNull(message = "用户信息不能为空")
    private Long id;

    @NotNull(message = "版本号不能为空")
    private Long version;

    @NotNull(message = "新密码不能为空")
    private String password;
}
